package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 product
 * 
 * @author ruoyi
 * @date 2023-12-04
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Long productId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 商品详情 */
    @Excel(name = "商品详情")
    private String productDetail;

    /** 商品头像 */
    @Excel(name = "商品头像")
    private String productAvatar;

    /** 商品分类 */
    @Excel(name = "商品分类")
    private String productSort;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private String productPrice;

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductDetail(String productDetail) 
    {
        this.productDetail = productDetail;
    }

    public String getProductDetail() 
    {
        return productDetail;
    }
    public void setProductAvatar(String productAvatar) 
    {
        this.productAvatar = productAvatar;
    }

    public String getProductAvatar() 
    {
        return productAvatar;
    }
    public void setProductSort(String productSort) 
    {
        this.productSort = productSort;
    }

    public String getProductSort() 
    {
        return productSort;
    }
    public void setProductPrice(String productPrice) 
    {
        this.productPrice = productPrice;
    }

    public String getProductPrice() 
    {
        return productPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("productDetail", getProductDetail())
            .append("productAvatar", getProductAvatar())
            .append("productSort", getProductSort())
            .append("productPrice", getProductPrice())
            .toString();
    }
}
